package com.taobao.base.model;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

// 解析token里的用
@Data
@JsonIgnoreProperties(ignoreUnknown = true) // 忽略未知属性
public class TokenUser {

    private String createTime;  //LocalDateTime 装配有问题，临时使用String
    private String updateTime;  //LocalDateTime 装配有问题，临时使用String
    private String name;
    private int userId;
    private List<String> permissions;
    private String phone;
    private String username;
}
